import request from '@/utils/request'

// get basic
export function fetchBasic(data) {
  return request({
    url: '/api/uni/distribution/basic/fetch',
    method: 'post',
    data
  })
}

// save basic
export function saveBasic(data) {
  return request({
    url: '/api/uni/distribution/basic/save',
    method: 'post',
    data
  })
}

// ----------------------------------------------------------

export function fetchGroup(data) {
  return request({
    url: '/api/uni/distribution/group/fetch',
    method: 'post',
    data
  })
}

// save group
export function saveGroup(data) {
  return request({
    url: '/api/uni/distribution/group/save',
    method: 'post',
    data
  })
}

// ----------------------------------------------------------
